package org.ch00.test08.demo01;

/**
 * 智能手机
 * @author ZJL
 * @date 2025-03-04
 */
public class Smartphone extends Phone implements USB,Connect{

    @Override
    public void input() {
        System.out.println("智能手机正在进行写入...");
    }

    @Override
    public void output() {
        System.out.println("智能手机正在进行读出...");
    }
    @Override
    public void connectIng(USB usb) {
        System.out.println("智能手机连接中...");
        usb.input();
        usb.output();
    }
    public void net(){
        System.out.println("上网");
    }
}
